package com.dameng.jianyouquan.bean;

public class LoginBean {


    /**
     * msg : success
     * code : 200
     * data : {"userId":"1853792799168000b2a86d748e68f3c9cf017122288","roleId":1,"token":"5809880b68264970a661fb2ab68d2d4a","expire":31535999990}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * userId : 1853792799168000b2a86d748e68f3c9cf017122288
         * roleId : 1
         * token : 5809880b68264970a661fb2ab68d2d4a
         * expire : 31535999990
         */

        private String userId;
        private int roleId;
        private String token;
        private long expire;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public long getExpire() {
            return expire;
        }

        public void setExpire(long expire) {
            this.expire = expire;
        }
    }
}
